package org.item.common.util;

import java.util.UUID;

public class FileUtil {
    public static String newName(String filename){
        String fileTypeName=filename.substring(filename.lastIndexOf("."));
        UUID uuid=UUID.randomUUID();
        String newName=uuid.toString()+fileTypeName;;
        return  newName;

    }
}
